
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont erp-icon-department"></i>
                    <div class="name">部门管理</div>
                    <div class="fontclass">.erp-icon-department</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-system"></i>
                    <div class="name">系统</div>
                    <div class="fontclass">.erp-icon-system</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-useradd"></i>
                    <div class="name">添加用户</div>
                    <div class="fontclass">.erp-icon-useradd</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-usermanage"></i>
                    <div class="name">后台用户管理</div>
                    <div class="fontclass">.erp-icon-usermanage</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-warehouse"></i>
                    <div class="name">10仓库、仓储-线性</div>
                    <div class="fontclass">.erp-icon-warehouse</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-organization"></i>
                    <div class="name">组织</div>
                    <div class="fontclass">.erp-icon-organization</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-material"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.erp-icon-material</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-post"></i>
                    <div class="name">职位</div>
                    <div class="fontclass">.erp-icon-post</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-authorization"></i>
                    <div class="name">授权</div>
                    <div class="fontclass">.erp-icon-authorization</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-menu"></i>
                    <div class="name">菜单</div>
                    <div class="fontclass">.erp-icon-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-permission"></i>
                    <div class="name">权限管理</div>
                    <div class="fontclass">.erp-icon-permission</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-role"></i>
                    <div class="name">角色管理</div>
                    <div class="fontclass">.erp-icon-role</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-classify"></i>
                    <div class="name">模板管理</div>
                    <div class="fontclass">.erp-icon-classify</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-CSV"></i>
                    <div class="name">CSV</div>
                    <div class="fontclass">.erp-icon-CSV</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-ZIP"></i>
                    <div class="name">ZIP</div>
                    <div class="fontclass">.erp-icon-ZIP</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-TET"></i>
                    <div class="name">TET</div>
                    <div class="fontclass">.erp-icon-TET</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-JPG"></i>
                    <div class="name">JPG</div>
                    <div class="fontclass">.erp-icon-JPG</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-VIDEO"></i>
                    <div class="name">VIDEO</div>
                    <div class="fontclass">.erp-icon-VIDEO</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-WORD"></i>
                    <div class="name">WORD</div>
                    <div class="fontclass">.erp-icon-WORD</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-PNG"></i>
                    <div class="name">PNG</div>
                    <div class="fontclass">.erp-icon-PNG</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-GIF"></i>
                    <div class="name">GIF</div>
                    <div class="fontclass">.erp-icon-GIF</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-ECEL"></i>
                    <div class="name">ECEL</div>
                    <div class="fontclass">.erp-icon-ECEL</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-OUTLOOK"></i>
                    <div class="name">OUTLOOK</div>
                    <div class="fontclass">.erp-icon-OUTLOOK</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-PPT"></i>
                    <div class="name">PPT</div>
                    <div class="fontclass">.erp-icon-PPT</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-tupianziliao"></i>
                    <div class="name">图片资料</div>
                    <div class="fontclass">.erp-icon-tupianziliao</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-zonghewendang"></i>
                    <div class="name">综合文档</div>
                    <div class="fontclass">.erp-icon-zonghewendang</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-dianziyoujian"></i>
                    <div class="name">电子邮件</div>
                    <div class="fontclass">.erp-icon-dianziyoujian</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-mimazidian"></i>
                    <div class="name">密码字典</div>
                    <div class="fontclass">.erp-icon-mimazidian</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-dianzihuadan"></i>
                    <div class="name">电子话单</div>
                    <div class="fontclass">.erp-icon-dianzihuadan</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-EML"></i>
                    <div class="name">EML</div>
                    <div class="fontclass">.erp-icon-EML</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-PDF"></i>
                    <div class="name">PDF</div>
                    <div class="fontclass">.erp-icon-PDF</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-company"></i>
                    <div class="name">公司管理</div>
                    <div class="fontclass">.erp-icon-company</div>
                </li>
            
                <li>
                <i class="icon iconfont erp-icon-storage"></i>
                    <div class="name">仓库_仓储管理_o</div>
                    <div class="fontclass">.erp-icon-storage</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">erp-icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
